how to get the execution time of a program in c